<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>按钮测试</title>
</head>
<style>
    * {
        margin: 0;
        padding: 0;
    }
    .container {
        width: 100vw;
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    sen-button::part(my-button) {
        background-color: brown;
    }
</style>
<body>
    <div class="container">
        <sen-button type="success">成功按钮</sen-button>
        <sen-button type="success" part="my-button">成功按钮</sen-button>
        <sen-button type="danger"></sen-button>
    </div>
</body>
<script src="../../../../dist/index.esm.js"></script>
</html>